<html>
    <head>
        <title><?= $this->lang->line('auth_title'); ?></title>

        <style>
            *{
                font-size:14px;
            }
            #content {
                position: absolute;
                overflow: auto;
                width: 600px;
                height: 300px;
                left: 50%;
                top: 50%;
                margin-left: -300px;
                margin-top: -150px;
            }
            #head
            {
                width:500px;
                height:20px;
                background-color:blanchedalmond;
                text-align:center;
                margin:0 auto;
                color:#000000;
                font: bolder 20px arial, verdana, sans-serif;
                padding:5px;
            }

            #body
            {
                width:500px;
                background-color:#FFFFFF;
                text-align:left;
                margin:0 auto;
                padding:5px;
                border-left:1px dotted gray;
                border-right:1px dotted gray;
                border-bottom:1px dotted gray;
            }

        </style>
    </head>
    <body>
        <?php if ($error): ?>
            <div style="background-color: red;color:white;text-align:center;margin:0 auto;width:300px">
                <h3>Error</h3>
                <p><?= $error ?></p>
            </div>
        <?php endif; ?>
            <div id="content">
                <div id="head" align="center">
                    Авторизація
                </div>
                <div id="body" align="center">
                <? echo form_open('autorize/login'); ?>
                <input type="text" id="login" name="login" value=""/>
                <input type="password" id="password" name="password" value=""/>
                <input type="submit"/>
                <? echo form_close(); ?>

            </div>
        </div>
    </body>
</html>    